Apparatus and method for transmitting content in portable terminal

ABSTRACT

A method of transmitting contents in a portable terminal is provided. The method includes allowing a portable terminal of a transmitter to be connected to a portable terminal of a receiver by a control communication, allowing the portable terminal of the transmitter to select a type of the data transmission communication with the portable terminal of the receiver through the control communication, allowing the portable terminal of the transmitter to transmit setting data corresponding to the selected type of data transmission communication to the portable terminal of the receiver through the control communication, and allowing the portable terminal of the transmitter to be connected to the portable terminal of the receiver by the control communication and to transmit the content which are requested to be transmitted, to the portable terminal of the receiver.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 15/958,551, filed on Apr. 20, 2018, and is a continuationapplication of prior application Ser. No. 14/268,754, filed on May 2,2014, which has issued as U.S. Pat. No. 9,998,897 on Jun. 12, 2018 andwas based on and claimed priority under 35 U.S.C. § 119(a) of a Koreanpatent application filed on May 7, 2013 in the Korean IntellectualProperty Office and assigned Serial No. 10-2013-0051185, the entiredisclosure of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to a transmission of content. Moreparticularly, the present disclosure relates to an apparatus and methodfor transmitting and sharing content using a wireless communicationscheme, which can be more conveniently used and is capable of minimizinga consumption of electric power.

BACKGROUND

A portable terminal which is provided to a user in a form of a smartphone, a tablet PC and the like has provided various useful functions.

The portable terminal has included various kinds of communicationmodules, i.e. a long-range communication module supporting 3G/4Gcommunications and the like, and a short-range communication modulesupporting Wi-Fi communication and the like, to provide various wirelesscommunication techniques. For example, the portable terminal can performdata communication including data sharing with other portable terminalsusing the communication modules. However, data communication techniqueshave not provided a user with convenience during the data communicationsuch as during data sharing because of various reasons now described.

When transmitting a file using communication techniques of the relatedart, a file to be transmitted is first selected, a transmission buttonis pressed, and potential recipients of the file are listed. A recipientis selected from the list, and a process of certifying the recipient iscompleted. When an apparatus corresponding to the recipient stays in astandby state capable of receiving the file, the file transmissionstarts. Accordingly, the process is very complicated and inconvenient.

Also, many users are not familiar with wireless transmission techniquessuch as Bluetooth, Wi-Fi Direct, Digital Living Network Alliance (DLNA),and the like. Further, users have difficulty in learning new technicalfeatures such as searching, scanning, pairing, bonding, Wi-Fi ProtectedSetup (WPS), Secure Simple Pairing (SSP), visibility, Discoverable, andthe like. Accordingly, users cannot easily choose which wirelesstransmission technique is suitable for file transmission under certaincircumstances. Therefore, it is problematic that a user transmits orreceives a file using only wireless transmission techniques with whichthe user is familiar.

Further, in a case of sharing a file using a wireless transmissiontechnique such as Bluetooth (ver. 3.0 or earlier) and Wi-Fi, either aBluetooth module or a Wi-Fi module of the apparatus for transmitting andreceiving the file must be active. Accordingly, where the apparatus is aportable terminal that is battery-operated, continuous consumption ofelectric power by the Bluetooth module or the Wi-Fi module is a problem.For example, since the activation of the Bluetooth module or the Wi-Fimodule for data communication causes a significant consumption ofstandby electric current, portable terminals such as a smart phones or atablet PC can be inefficient. Further, in a wireless transmissiontechnique such as Bluetooth or Wi-Fi, there is a problem in that itsometimes takes several tens of seconds, for example thirty seconds, ofscanning to identify an object that is to receive the file.

In order to address the above-mentioned inconveniences, a technique oftransmitting data after performing Out Of Band (OOB) pairing using NearField Communication (NFC) and the like is utilized. However, thistechnique results in an increase in power consumption in a datareceiving apparatus since the data receiving apparatus must continuouslyremain in a standby state in order to receive data.

Accordingly, there is a need for an improved apparatus and method fortransmitting and sharing content using a wireless communication scheme,which can be more conveniently used and is capable of minimizing aconsumption of electric power.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide an apparatus and method for transmittingcontent in a portable terminal, which are capable of maximizingusability by simplifying and automating wireless communication functionsso that a user can use them conveniently, while minimizing a consumptionof electric power which is caused by using the wireless communicationfunctions.

In accordance with an aspect of the present disclosure, a method oftransmitting content in a portable terminal is provided. The method oftransmitting content in a portable terminal includes allowing a portableterminal of a transmitter to be connected to a portable terminal of areceiver by a control communication when the portable terminal of thetransmitter receives a request for transmission of content, allowing theportable terminal of the transmitter to select a type of datatransmission communication with the portable terminal of the receiverthrough the control communication, allowing the portable terminal of thetransmitter to transmit setting data corresponding to the selected typeof the data transmission communication to the portable terminal of thereceiver through the control communication, so that the portableterminal of the receiver changes a setting corresponding to the selectedtype of the data transmission communication, and allowing the portableterminal of the transmitter to be connected to the portable terminal ofthe receiver by the control communication and to transmit the requestedcontent to the portable terminal of the receiver.

In accordance with another aspect of the present disclosure, anapparatus for transmitting content in a portable terminal is provided.The apparatus for transmitting content in a portable terminal includes ashort-range communication module including a plurality of communicationmodules which have a communication module for a control communicationmodule and a data communication module, and a controller configured toconnect the apparatus to the portable terminal of the receiver whichreceives the content, for the control communication by using thecommunication module for the control communication module when receivinga request of a content transmission, to select a communication modulefor a data transmission communication with the portable terminal of thereceiver from the plurality of communication modules through the controlcommunication, to transmit setting data corresponding to the selectedcommunication module for the data transmission communication to theportable terminal of the receiver through the control communication sothat the portable terminal of the receiver changes a settingcorresponding to the selected communication module for the datatransmission communication, to connect the selected communication modulefor the data transmission communication to the portable terminal of thereceiver, and to control the apparatus to transmit the content which isrequested to be transmitted to the portable terminal of the receiverthrough the connected communication module for the data transmissioncommunication.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 is a schematic block diagram illustrating a portable terminalaccording to an embodiment of the present disclosure;

FIG. 2 is a flowchart illustrating a process of transmitting contentaccording to an embodiment of the present disclosure;

FIG. 3A is a view illustrating a first example of an advertising dataformat which is broadcast from the portable terminal according to anembodiment of the present disclosure;

FIG. 3B is a view illustrating a second example of an advertising dataformat which is broadcast from the portable terminal according to anembodiment of the present disclosure;

FIG. 3C is a view illustrating a process of transmitting contentaccording to an embodiment of the present disclosure; and

FIGS. 3D and 3E are views illustrating examples of a format of settingdata transmitted in the process of transmitting content according to anembodiment of the present disclosure.

Throughout the drawings, it should be noted that like reference numbersare used to depict the same or similar elements, features, andstructures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

FIG. 1 is a schematic block diagram illustrating a portable terminalaccording to an embodiment of the present disclosure.

Referring to FIG. 1, a portable terminal according to an embodiment ofthe present disclosure is an electronic device which can be carriedconveniently in terms of weight and size. Some examples of the portableterminal according to the present disclosure may include feature phonesand electronic devices such as a smart phone and a tablet PC, which areoperated by an operating system such as bada, Tizen, Windows, iOS,Android, and the like, although this list is not meant to be exhaustive.Additionally, the portable terminal according to an embodiment of thepresent disclosure may include a portable computer, a digital camera, avideo phone, and the like.

It will be obvious to a person of ordinary skill in the art that theportable terminal is not limited to the above-mentioned electronicdevices. Further, embodiments of the present disclosure may be appliedto an electronic device, for example a desktop PC, which is difficult tocarry. Accordingly, it will be obvious to a person of ordinary skill inthe art that embodiments of the present disclosure can be applied toelectronic devices including portable apparatuses and fixed apparatuses.

A radio transmission and reception unit 23 includes a Radio Frequencyunit (RF unit) and a modem. The RF unit includes a RF transmitter forupconverting and amplifying a frequency of transmitted signals, and a RFreceiver for amplifying a low noise of received signals anddownconverting a frequency of the signals. The modem includes atransmitter for encoding signals to be transmitted and a receiver fordemodulating and decoding signals received from the RF unit.

An audio processing unit 25 is may comprise a codec, and the codec mayinclude a data codec and an audio codec. The data codec processes apacket data and the like, and the audio codec processes audio signalssuch as a voice, a sound of multimedia files, and the like. The audioprocessing unit 25 converts digital audio signals received from themodem into analog signals through the audio codec to reproduce a voiceor sound, or converts analog audio signals received from a microphoneinto digital audio signals through the audio codec to transmit thedigital audio signals to the modem. The codec of the audio processingunit 25 may be separately equipped to the portable apparatus, orincluded in a controller 10. Otherwise, the audio processing unit 25 maybe included in the controller 10.

The controller 10 according to various embodiments of the presentdisclosure can notify a user that a communication control device, e.g. aremote control, is connected to the portable terminal, i.e. a BluetoothLow Energy (BLE) device is connected to the portable terminal, throughthe audio processing unit 25 in a form of sound information.

A key input unit 27 may include keys necessary for an input of numberand letter information, function keys necessary for setting variousfunctions, a touch pad, and the like. In a case where a display unit 50is established in a form of a touch screen, the key input unit 27 mayinclude a reduced number of keys, and the display unit 50 can substitutefor part of key input functions of the key input unit 27.

A memory 30 includes a program memory and data memories, of which theprogram memory has a program for controlling a general operation of aportable terminal stored therein. The memory 30 may further include anexternal memory such as a Compact Flash (CF) memory, a Secure Digital(SD) memory, a Micro Secure Digital (Micro-SD) memory, a Mini SecureDigital (Mini-SD) memory, an Extreme Digital (xD) memory, a Memory Stick(MS) memory, and the like. Further, the memory 30 may include a disktype of storage unit such as a Hard Disk Drive (HDD) and a Solid StateDisk (SSD).

The memory 30 according to various embodiments of the present disclosuremay store (or temporarily store) content, and a white list to bedescribed later. Content stored (or temporarily stored) in the memory 30may refer to data which users can transmit and receive (share with oneanother) by using their portable terminals, for example contact addressfiles with an extension name such as .vcf, and multimedia files havingan extension name such as .jpg, .avi, .mp3, and the like.

A short-range communication module 40 provides a short-range wirelesscommunication function.

The short-range communication module 40 according to various embodimentsof the present disclosure may include a plurality of communicationmodules such as a Bluetooth module, a BLE module, a Wi-Fi module, andthe like. The short-range communication module 40 according to anembodiment of the present disclosure may include an Infrared DataAssociation (IrDA) module, a Near Field Communication (NFC) module, aZIGBEE module, an ANT module, and an RFID module. Referring to FIG. 1,the short-range communication module 40 is shown including one antenna.However, the short-range communication module 40 may include a number ofantennas corresponding to the number of communication modules.

Alternatively, the BLE module may be a short-range communication moduleconsistent with Bluetooth 4.0, and operates in a low energy modecompared to the Bluetooth modules of version 3.0 or earlier. The BLEmodule has a feature of minimizing battery consumption of a portableterminal even though it is continuously activated, and may be providedalong with or as a substitute for the traditional Bluetooth module ofversion 3.0 or earlier.

Moreover, the BLE module may be associated with the controller 10 tobroadcast advertising data including status information of the portableterminal, for example, a portable terminal of a transmitter and aportable terminal of a receiver. The BLE module is described in moredetail in the following paragraphs.

The display unit 50 includes a Liquid Crystal Display (LCD) or anOrganic Light Emitting Diode (OLED) and outputs various pieces ofdisplay information generated in the portable terminal. The display unit50 may include an electrostatic touch screen, a resistive touch screenand the like, through which a user uses only the touch screen 50, or thetouch screen 50 and the key input unit 40 together to operate theportable terminal, for example, in a manner of touching buttons.Further, the display unit 50 may include a digitizer. The display unit50 may include only one of, or both, the digitizer and the touch screento process an input of a user.

The controller 10 controls overall operations of the portable terminalaccording to various embodiments of the present disclosure, and convertsand controls the operation of the portable terminal according to a userinput through the key input unit 27 or the display unit 50.Alternatively, the controller 10 according to an embodiment of thepresent disclosure controls the overall operations of a portableterminal at a transmitter side, or the overall operations of a portableterminal at a receiver side with respect to the performance of a contenttransmission method in the portable terminal. For example, thecontroller 10 according to an embodiment of the present disclosurecontrols a series of operations relating to the performance of thecontent transmission method in the portable terminal. The contenttransmission method includes the enabling a portable terminal of atransmitter to be connected with a portable terminal of a receiver for acontrol communication when the portable terminal of the transmitter isrequested to transmit content, allowing the portable terminal of thetransmitter to select a type of data transmission communication with theportable terminal of the receiver through the control communication,allowing the portable terminal of the transmitter to transmit settingdata corresponding to the selected type of data transmissioncommunication to the portable terminal of the receiver through theconnected control communication, enabling the portable terminal of thereceiver to change a setting thereof corresponding to the selected typeof data transmission communication, and allowing the portable terminalof the transmitter to be connected to the portable terminal of thereceiver for the selected data transmission communication, so as totransmit the requested content to the portable terminal of the receiverthrough the data transmission communication.

Alternatively, although devices such as a camera module and a DigitalMedia Broadcasting (DMB) receiver which may be included in the portableterminal are not shown in FIG. 1, it will be obvious to a person ofordinary skill in the art that the devices (not shown) also are includedin the portable terminal according to various embodiments of the presentdisclosure to provide corresponding functions. For example, in anembodiment of the present disclosure, the content shared (transmitted toand received from) with the portable terminal of the transmitter and theportable terminal of the receiver may be stationary images or videofiles taken by the camera module, or broadcasting video files which arerecorded using the DMB receiver.

FIG. 2 is a flowchart illustrating a process of transmitting contentaccording to an embodiment of the present disclosure.

FIG. 3A is a view illustrating a first example of an advertising dataformat which is broadcast from the portable terminal according to anembodiment of the present disclosure. FIG. 3B is a view illustrating asecond example of an advertising data format which is broadcast from theportable terminal according to an embodiment of the present disclosure.FIG. 3C is a view illustrating a process of transmitting contentaccording to an embodiment of the present disclosure. FIGS. 3D and 3Eare views illustrating examples of a format of setting data transmittedin the process of transmitting content according to an embodiment of thepresent disclosure. Various embodiments of the present disclosure willbe described with reference to the drawings.

Although the portable terminal, for example, the portable terminal ofthe transmitter and the portable terminal of the receiver, is describedas one structural element for the convenience of this description, itwill be obvious to a person of ordinary skill in the art that theprimary operation is the controller 10 of the portable terminal andstructural elements included in the portable terminal that are subjectto instructions of the controller. Further, although the portableterminal of the transmitter and the portable terminal of the receiverare distinguished and described with relation to files for theconvenience of the description, it will be obvious to a person ofordinary skill in the art that the portable terminal of the transmitteralso can perform the operation of the portable terminal of the receiver,and on the contrary, the portable terminal of the receiver also canperform the operation of the portable terminal of the transmitter.

At operations S201 and S202, the portable terminal of the transmitteridentifies that a user has requested the portable terminal to transmitdesired content, and receives advertising data which is broadcast fromthe portable terminal.

When receiving a request of the content transmission from the user, forexample, a request of sharing content with the portable terminal of thereceiver, the portable terminal of the transmitter activates the BLEmodule which is a low-energy short-range communication module so as toreceive the advertising data which is broadcast from the other portableterminals including the portable terminal of the receiver.

Various embodiments of the present disclosure utilize the advertisingdata of the BLE module with a low-energy attrition rate. Therefore, theportable terminals, for example the portable terminal of the transmitterand the portable terminal of the receiver, according to an embodiment ofthe present disclosure broadcast the advertising data through the BLEmodule which is a low-energy short-range communication module.Therefore, the companion portable terminal receiving the advertisingdata can obtain status information of the portable terminal.

The portable terminal according to an embodiment of the presentdisclosure stores the status information of itself in detail data of theadvertising data to broadcast it, for example, in an AD structure 1 toan AD structure N. The advertising data and the status information willbe described with reference to FIGS. 3A and 3B.

Referring to FIG. 3A, the maximum size of the advertising data providedin the BLE is 31 bytes, and the status information of the portableterminal is included in a plurality of the detail data, for example theAD structure 1 to the AD structure N, and can be broadcast.

Referring to FIG. 3B, even though the many pieces of information areincluded in the detail data of the advertising data, the embodiment ofthe present disclosure utilizes data corresponding to an AD type such asa TX power level, a shortened local name, a random target address, amanufacturer specific data <<protocol>>, a manufacturer specific data<<capability>>, a manufacturer specific data <<others>>, and the like,among the many pieces of information.

Here, the status information includes information on whether acommunication status of the BLE module of the portable terminal ispreferred, which wireless communication function is supported by usingwhich protocol, a current operation mode, and the like.

For example, the portable terminal of the receiver (or the portableterminal of the transmitter) broadcasts information on an electricfield, i.e. RSSI, of the BLE module through the data having the AD typeof the TX power level.

Further, the portable terminal of the receiver (or the portable terminalof the transmitter) broadcasts information on device names through datahaving the AD type of the shortened local name.

Further, the portable terminal of the receiver (or the portable terminalof the transmitter) broadcasts a predetermined address such as SamsungMobile or Starbucks through data having the AD type of a random targetaddress. The data of the random target address is utilized in anapplication of a white list described later as well as in an address fora connection of the BLE communication.

Further, the portable terminal of the receiver (or the portable terminalof the transmitter) broadcasts information on an identification of amanufacturer, e.g., Samsung Electronics Co., Ltd., or information on acommunication protocol, e.g., SSIP 1.0, through data having the AD typeof a manufacturer specific data <<protocol>>.

In addition, the portable terminal of the receiver (or the portableterminal of the transmitter) broadcasts information on supportedwireless communications among a plurality of wireless communicationslisted by 01 to 13, and also broadcasts information on usable sensorsamong a plurality of sensitive sensors listed by 14 to 20, through datahaving the AD type of a manufacturer specific data <<capability>>.

For example, when the advertising data in which information of AD datahaving 0x0000FF is stored in the AD type of the manufacturer specificdata <<capability>> is broadcast, it is possible to inform that thewireless communications functions including (01) Bluetooth BR/EDR, (02)Bluetooth AMP, (03) Bluetooth LE (BLE), (04) Wi-Fi, (05) Wi-Fi Direct,(06) Wi-Fi Display, (07) DLNA (all-share) and (08) NFC, RFID, may besupported.

Furthermore, the portable terminal of the receiver (or the portableterminal of the transmitter) broadcasts information on an operation modeof the portable terminal, e.g., a silent mode, a screen rotation mode, apower saving mode, a notification mode, a mobile datatransmission/reception mode, a driving mode, a sync mode, and the like,through data having the AD type of a manufacturer specification data<<others>>.

Alternatively, because the advertising data has the maximum size of 31bytes, information on the shortened local name having the maximum sizeof 31 bytes may not be included in the advertising data in an embodimentof the present disclosure. For example, the advertising data isgenerated by using data corresponding to the AD types of the TX powerlevel having a size of 1 byte, the random target address having a sizeof 6 bytes, the manufacturer specific data <<protocol>> having a size of4 bytes, the manufacturer specific data <<capability>> having a size of3 bytes, and the manufacturer specific data <<others>>.

At this time, the portable terminal which receives the broadcastedadvertising data requests the portable terminal which broadcasts theadvertising data, to transmit information having the AD type of theshortened local name which is not included in the advertising data dueto the size thereof, and obtains the information.

For example, an apparatus, i.e. the portable terminal of the receiver,that broadcasts the advertising data sets the information on theshortened local name as data to be transmitted in response to a scan(scan_RSP) when the advertising data is generated. Then, in a case wherethe received advertising data lacks necessary status information, anapparatus, i.e. the portable terminal of the transmitter, which receivesthe broadcast advertising data, requests an advertising data includingthe necessary status information, i.e. shortened local name, by usingthe same advertising channel through an additional request (scan REQ) atoperation S203, and receives the advertising data including thenecessary information through the respond (scan_RSP).

Furthermore, even though the controller of the portable terminal of thereceiver enters a sleep mode, the portable terminal of the receiver (orthe BLE module of the portable terminal of the transmitter) broadcaststhe advertising data at a predetermined period, and responds to thescanning of the portable terminal of the transmitter. At this time,according to whether the controller enters the sleep mode, a period inwhich the advertising data is broadcast may be variable.

At operations S203 to S205, the portable terminal of the transmitterperforms a scanning using the BLE module and displays detectedapparatuses. Then, when a user selects an apparatus to which the contentis transmitted, the portable terminal of the transmitter connects theBLE communication.

In an embodiment of the present disclosure, the portable terminal of thetransmitter can perform the scanning by using the BLE module when theuser requests the portable terminal of the transmitter to transmit thecontent, or when the advertising data which is broadcast by anotherportable terminal, i.e. the portable terminal of the receiver.

At this time, the portable terminal of the transmitter can scan theneighboring portable terminal of the receiver, i.e. an advertiserbroadcasting the advertising data, by using scanning parametersindicated in Table 1 below.

TABLE 1 Set Scan Command parameters Definition LE_Scan_Type (0x00)Passive Scanning (default) (0x01) Active scanning (SCAN_REQ)LE_Scan_Interval Range: 2.5 ms~10.24 s (Default 10 ms) LE_Scan_WindowRange: 2.5 ms~10.24 s (Default 10 ms) Own_Address_Type Public(default)or Random Target Address Scanning_Filter_Policy (0x00) Accept alladvertisement packets (default). (0x01) Ignore advertisement packetsfrom devices not in the White List Only.

The portable terminal of the transmitter displays to a user a list ofone or more apparatuses which are scanned and detected by the BLE moduleand receives a user's selection for an apparatus to which the contentare to be transmitted, so as to connect the BLE communication with theapparatus selected by the user. At this time, the portable terminal ofthe transmitter according to an embodiment of the present disclosure mayselectively display a list of apparatuses satisfying the RSSI in acertain range, when a list of the apparatuses scanned and detected bythe BLE module is displayed.

Referring to FIG. 3C, when only one apparatus is scanned and detected bythe BLE module, assuming that it is the portable terminal of thereceiver to which the portable terminal of the transmitter transmits thecontent, indicated by a reference numeral 311 on a display screen 310,the portable terminal of the transmitter connects the BLE communicationwith the apparatus, i.e., the portable terminal of the receiver, whichis selected by the user, by inputting a touch input for a menu indicatedby 311.

As shown in a display screen 320, when a plurality of apparatuses 321,322, and 323 are detected as a result of scanning by using the BLEmodule, the user can sequentially select the plural apparatuses 321, 322and 323, and the BLE communication is sequentially connected with theplurality of selected apparatuses so that the BLE communication of 1:Ncan be performed.

Here, since the portable terminal of the transmitter can broadcast theadvertising, like the portable terminal of the receiver, it is assumedthat the portable terminal of the transmitter temporarily stopsbroadcasting the advertising data when the advertising data is receivedfrom the portable terminal of the receiver, and performs the scanning.

Further, the portable terminal of the transmitter displays a list ofonly apparatuses having an RSSI value in a certain range, among thescanned apparatuses. That is, the portable terminal of the transmitterdisplays the minimal number of apparatuses, thereby improving theconvenience with which the user selects an apparatus.

In an embodiment of the present disclosure, the BLE communication isused as control communication by which the portable terminal of thetransmitter, i.e. an apparatus requesting the connection of the BLEcommunication, remotely controls the portable terminal of the receiver,i.e. an apparatus receiving and permitting the connection of the BLEcommunication. Accordingly, in an embodiment of the present disclosureof FIG. 2, the BLE communication of the portable terminal of thetransmitter with the portable terminal of the receiver is carried outwhen the portable terminal of the transmitter requests the portableterminal of the receiver to permit the BLE communication and theportable terminal of the receiver permits the BLE communication.

At this time, the connection of the BLE communication of the portableterminal of the transmitter with the portable terminal of the receivermay be carried out without approval of the user of the portable terminalof the receiver. However, it is assumed that the connection of the BLEcommunication can be carried out only when the user of the portableterminal of the receiver approves.

In an embodiment of the present disclosure, the apparatus, i.e. theportable terminal of the receiver which is invited for the BLEcommunication, informs the user of a request of another terminal, i.e.the portable terminal of the transmitter, to connect the BLEcommunication and requests the user to approve, as indicated by areference numeral 330 in FIG. 3. Then, the portable terminal of thereceiver, i.e. the apparatus invited to connect the BLE communication,connects the BLE communication with the portable terminal of thetransmitter according to the user's decision, i.e. an input touch for amenu 331 of menus 331 and 332.

When the BLE communication for the remote control is connected, theportable terminals of the transmitter and the receiver inform each userof the connection of the BLE communication in a form of sound,vibration, or visual information. In an embodiment, the connection ofthe BLE communication is displayed in a form of visual informationthrough an interface such as an indicator bar (or a quick panel) 341 ona display screen 340, as shown in FIG. 3C. Further, an interface forcontrol of the BLE connection, including menus of disconnect, cancel,reject, filter, and the like may be provided so that the user may setthe connected BLE communication.

Alternatively, in an embodiment of the present disclosure, the portableterminal of the transmitter and the portable terminal of the receiverhave a white list which is previously stored therein, and selectivelyperform a series of operations for a connection of the BLE communicationthrough the white list.

The portable terminal, i.e. the portable terminal of the transmitter andthe portable terminal of the receiver, according to an embodiment of thepresent disclosure may use an open address (BD_ADDR) or a MAC Addressfor a connection of communication with another terminal, i.e. for aconnection of the BLE communication as a control communication, but mayconnect the BLE communication by using the random target addressincluded in the advertising data shown in FIG. 3B. Accordingly, theportable terminals, i.e. the portable terminal of the transmitter andthe portable terminal of the receiver, according to an embodiment of thepresent disclosure can store in advance the white list generated on thebasis of the random target address.

For example, the portable terminal of the transmitter previouslycomposes the white list before scanning for the connection of the BLEcommunication, and identifies the advertising data broadcast by theplurality of apparatuses to ignore the advertising data of theapparatuses which do not correspond to the random target addressincluded in the white list.

Further, the portable terminal of the receiver can ignore a request ofan apparatus for the connection of the BLE communication that is notincluded in the white list. Therefore, it is possible to preventunnecessary operations of the portable terminal of the transmitter andthe portable terminal of the receiver, (for example the operation of thecontroller), thereby minimizing a consumption of electric current andsecuring the privacy of the user of the portable terminal.

Alternatively, the apparatus which is managed by using the white list(or the apparatus which is registered in the white list) may be aportable terminal such as a smart phone. However, the apparatus mayinclude service providers to which an address for certification, i.e.random target address, is given. The service providers may include adevice service provider, a business service provider, a social serviceprovider, and the like. For example, the random target address isdistributed to the service providers which are certified through acertification process, and it makes the BLE connection of the portableterminal, i.e. the portable terminals of the transmitter and thereceiver, achievable with the service providers only when the BLEconnection is necessary.

An example of the device service provider includes apparatuses of acertain manufacturer, e.g. Samsung Electronics Co. Ltd., using the sameprotocol, such as a smart phone, a smart TV, a smart appliance and thelike. Further, an example of the business service provider includescompanies such as Starbucks, SK Energy, Costco, CGV, KORAIL, and thelike, which provide commercial services including advertisement,coupons, ordering, ticketing, and the like. Furthermore, an example ofthe social service provider includes companies such as Facebook,Twitter, Foursquare, and the like, which provide social networkservices.

Referring back to FIG. 2, at operations S206 to S208 the portableterminal of the transmitter sets up a method of transmitting the contentand transmits setting data corresponding to a transmission method whichis set to the portable terminal of the receiver. The portable terminalof the receiver changes and applies the setting of the portable terminalin correspondence to the setting data which is received.

When connected to the portable terminal of the receiver to perform thecontrol communication (BLE communication), the portable terminal of thetransmitter has to set (select) a communication method to be used for atransmission of the content, i.e. a communication for a transmission ofdata such as the content.

The portable terminal of the transmitter according to an embodiment ofthe present disclosure also broadcasts the advertising data by using theBLE module, like the portable terminal of the receiver. It is alreadydescribed that the advertising data includes information on whichwireless communication function a corresponding portable terminalsupports by using which protocol, and a current operation mode of theportable terminal.

Accordingly, the portable terminal of the transmitter analyzes theadvertising data of the portable terminal of the receiver, andidentifies a type of wireless communication function which the portableterminal of the transmitter and the portable terminal of the receivercan utilize in common so as to select a certain wireless communicationfunction.

For example, a wireless communication function having the fastesttransmission rate is selected from the wireless communication functionswhich are utilized in common. For example, when the wirelesscommunication functions of the Bluetooth module (version 3.0 or earlier)and the Wi-Fi module are utilized in common, the Wi-Fi module having atransmission rate relatively faster than the Bluetooth module may beselected.

However, the portable terminal of the transmitter identifies a sizeproperty of a content to be transmitted, and selects a wirelesscommunication function from the wireless communication functions whichare utilized in common according to the size property. For example, in acase where the wireless communication functions of the Bluetooth module(version 3.0 or earlier) and the Wi-Fi are utilized in common, if thesize of the content is smaller than a predetermined size, e.g. 1 Mb, theBluetooth module (version 3.0 or earlier) having a small latency, i.e.transmission delay rate may be selected. If the size of the content islarger than the threshold size, i.e. 1 Mb, the Wi-Fi module having arapid transmission rate may be selected. The transmission of the contentusing the Bluetooth module is disadvantageous in view of thetransmission rate, but is advantageous in view of the latency.Therefore, if the size of the content to be transmitted is small, atransmission method using the Bluetooth module is preferable.

When a type of the wireless communication function is selected ordetermined as described above, the portable terminal of the transmitteridentifies whether the selected wireless communication function isactivated. If the wireless communication function is not activated, theportable terminal of the transmitter activates the wirelesscommunication function. The portable terminal of the transmittertransmits the setting data shown in FIGS. 3D and 3E to the portableterminal of the receiver by using the connected BLE communication sothat the portable terminal of the receiver activates the selectedwireless communication function. For example, when the Wi-Fi module isselected and the Wi-Fi module, i.e. the wireless communication functionusing the Wi-Fi module, is activated in the portable terminal of thetransmitter, the portable terminal of the transmitter transmits thesetting data so that the Wi-Fi module is activated in the portableterminal of the receiver.

FIGS. 3D and 3E are views illustrating examples of a format of settingdata transmitted in the process of transmitting content according to anembodiment of the present disclosure. Referring to FIGS. 3D and 3E, theportable terminal of the transmitter can transmit the setting data tothe portable terminal of the receiver in order to control at least oneof the wireless communication functions of 01 to 13 and sensors of 14 to20 in the portable terminal of the receiver, as shown through a categoryof a bearer and a sensor specific. The portable terminal of the receiverchanges its setting based on the received setting data.

For example, when receiving the setting data for turning the Wi-Fimodule on from the portable terminal of the transmitter, the portableterminal of the receiver identifies whether the Wi-Fi module thereof isactivated. If the Wi-Fi module is activated, the portable terminal ofthe receiver ignores the setting data. If the Wi-Fi module is notactivated, the portable terminal of the receiver activates the Wi-Fimodule.

At operations S209 to S211, the portable terminal of the transmitter isconnected to the portable terminal of the receiver through the wirelesscommunication by the set transmission method. The content which isrequested to be transmitted is transmitted to the portable terminal ofthe receiver according to the set transmission method. When completingthe reception of the content, the portable terminal of the receiverrestores the changed setting thereof to the former state.

The portable terminal of the transmitter sets the transmission method inthe previous operations and transmits the setting data, whichcorresponds to the set transmission method, to the portable terminal ofthe receiver. A series of operations are performed for connecting thecommunication by the set transmission method, i.e. the selected wirelesscommunication function, which can be automatically performed in theportable terminal of the transmitter.

For example, when the set transmission method is the Bluetooth module(version 3.0 or earlier), and the portable terminals of the transmitterand the receiver are activated, the portable terminal of the transmitterautomatically performs a series of processes including a pairing so asto complete the connection with the portable terminal of the receiver bythe Bluetooth module (version 3.0 or earlier). As another example, ifthe set transmission method is the Wi-Fi Direct module, the portableterminals of the transmitter and the receiver automatically perform aseries of operations including a device discovery, a service discovery,and a group generation so that the connection of the Wi-Fi Direct modulecan be achieved between the portable terminals.

When the wireless communication is connected according to the settransmission method, the portable terminal of the transmitter transmitsthe content which is requested to be transmitted to the portableterminal of the receiver by using the connected wireless communication.

When or after the portable terminal of the transmitter transmits thecontent, the setting data described with reference to FIGS. 3D and 3Ecan be transmitted through the BLE which is a control communication. Atthis time, the transmitted setting data includes a control parameter forcontrolling the transmitted content. Alternatively, the controlparameter may be transmitted at operations S207, and S210, or afteroperation S210.

Referring to FIGS. 3D and 3E, as shown in categories of music play,remote button, general and apps, the portable terminal of thetransmitter transmits the content, and transmits instructions forcontrolling the transmitted content as the setting data as shown inFIGS. 3D and 3E. For example, the portable terminal can control areproduction of the transmitted content, e.g. music files, by means ofthe instructions such as play/pause, next, previous, FF, REW, stop, andthe like. As shown through a category of Apps, the portable terminal ofthe transmitter can transmit instructions for executing a certainapplication to the portable terminal of the receiver.

When the portable terminal of the transmitter completes the transmissionof the content, the portable terminal of the receiver restores thesetting, which is changed to receive the content at operation S208, tothe former state.

For example, having changed the setting of the portable terminal so thatthe Wi-Fi module in a state of non-activation is activated to receivethe content, the portable terminal of the receiver restores the settingof the portable terminal after completing the reception of the content,so that the Wi-Fi module returns to the initial non-activation state.

Alternatively, in an embodiment of the present disclosure as describedabove, the portable terminal of the transmitter is connected with theportable terminal of the receiver by the BLE communication for theremote control, selects a type of data communication through the BLEcommunication, and transmits the content through the connection of thedata communication, i.e. a connection of the Wi-Fi.

However, various embodiments of the present disclosure can be applied toa case where the portable terminal of the transmitter is far apart fromthe portable terminal of the receiver. Although communication using ashort-range communication module such as the BLE module and the Wi-Fimodule is impossible, the embodiment can be applicable. For example, theportable terminal of the transmitter is connected to the portableterminal of the receiver by way of a relay server, e.g. a cloud server,to perform communication for the remote control and the datatransmission, thereby carrying out an embodiment of the presentdisclosure as described above.

The present disclosure provides an apparatus and method for transmittingcontent in a portable terminal, which are capable of maximizingusability by simplifying and automating wireless communication functionsso that a user can use them conveniently, while minimizing theconsumption of electric power which is caused by using the wirelesscommunication functions.

It will be appreciated that various embodiments of the presentdisclosure according to the claims and description in the specificationcan be realized in the form of hardware, software or a combination ofhardware and software.

Any such software may be stored in a non-transitory computer readablestorage medium. The non-transitory computer readable storage mediumstores one or more programs (software modules), the one or more programscomprising instructions, which when executed by one or more processorsin an electronic device, cause the electronic device to perform a methodof the present disclosure.

Any such software may be stored in the form of volatile or non-volatilestorage such as, for example, a storage device like a Read Only Memory(ROM), whether erasable or rewritable or not, or in the form of memorysuch as, for example, Random Access Memory (RAM), memory chips, deviceor integrated circuits or on an optically or magnetically readablemedium such as, for example, a Compact Disk (CD), Digital Versatile Disc(DVD), magnetic disk or magnetic tape or the like. It will beappreciated that the storage devices and storage media are variousembodiments of non-transitory machine-readable storage that are suitablefor storing a program or programs comprising instructions that, whenexecuted, implement various embodiments of the present disclosure.Accordingly, various embodiments provide a program comprising code forimplementing apparatus or a method as claimed in any one of the claimsof this specification and a non-transitory machine-readable storagestoring such a program.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. A method of sharing a multimedia file in an electronic device, the method comprising: displaying, on a display of the electronic device, a plurality of objects, each of the plurality of objects corresponding to a multimedia file; receiving a first user input for a selection of an object of the displayed plurality of objects; while the object is selected, in response to a second user input corresponding to a function for sharing a multimedia file corresponding to the selected object; receiving, from each of at least one external device searched through a first communication circuit, information related to the at least one external device; displaying, on the display of the electronic device, at least one representation corresponding to at least one external device which meets a specified condition from among the searched at least one external device, based at least in part on the information received from each of the at least one external device searched through the first communication circuit; receiving, via the displayed at least one representation, a third user input for selecting an external device from among the at least one external device which meets the specified condition; and in response to the third user input, connecting to the selected external device through a second communication circuit, for sharing the multimedia file corresponding to the selected object.
 2. The method of claim 1, further comprising: transmitting, to the selected external device through the second communication circuit, the multimedia file corresponding to the selected object.
 3. The method of claim 1, wherein the specified condition relates to at least one of a manufacturer of each of the searched at least one external device or a communication technique supported by each of the searched at least one external device.
 4. The method of claim 1, wherein receiving the third user input for selecting the external device further comprises receiving the third user input for selecting at least two external devices from among a plurality of external devices which meet the specified condition.
 5. The method of claim 4, further comprising: sequentially, connecting to the selected at least two external devices through the second communication circuit, the multimedia file corresponding to the selected object.
 6. The method of claim 1, wherein the multimedia file comprises at least one of a music file, an image file, or a video file.
 7. The method of claim 1, further comprising: in response to the second user input corresponding to the function for sharing the multimedia file, activating a function of a first communication corresponding to the first communication circuit or a function of a second communication corresponding to the second communication circuit.
 8. The method of claim 1, wherein the receiving the information related to the at least one external device comprises: broadcasting an advertising through the first communication circuit; and in response to the broadcasting, receiving, from each of the at least one external device searched through the first communication circuit, the information related to the at least one external device.
 9. The method of claim 1, wherein the receiving the information related to the at least one external device comprises: scanning a signal broadcasted periodically from the at least one external device through the first communication circuit; and identifying the information related to the at least one external device from the scanned signal.
 10. The method of claim 1, wherein the at least one representation comprises at least one of an image, a device service provider name, a manufacturer, a type of a device, or a device name.
 11. The method of claim 1, wherein a first communication corresponding to the first communication circuit comprises at least one of Bluetooth or Bluetooth low energy (BLE).
 12. The method of claim 1, wherein a second communication corresponding to the second communication circuit comprises at least one of Wi-Fi or Wi-Fi direct.
 13. The method of claim 1, wherein the information received from at least one external device searched through a first communication circuit comprises at least one of a device service provider name, a manufacturer, information on supported wireless communications among a plurality of wireless communications, a type of a device, or a device name.
 14. The method of claim 1, wherein a transmission speed of a second communication corresponding to the second communication circuit is faster than a transmission speed of a first communication corresponding to the first communication circuit.
 15. An electronic device comprising: a display; a first communication circuit; a second communication circuit; a memory configured to store instructions; and at least one processor coupled to the display, the first communication circuit, the second communication circuit and the memory, wherein upon execution of the stored instructions, the at least one processor is configured to: display, on the display, a plurality of objects, each of the plurality of objects corresponding to a multimedia file, receive a first user input for a selection of an object of the displayed plurality of objects, while the object is selected, in response to a second user input corresponding to a function for sharing a multimedia file corresponding to the selected object, receive, from each of at least one external device searched through the first communication circuit, information related to the at least one external device, display, on the display, at least one representation corresponding to at least one external device which meets a specified condition from among the searched at least one external device, based at least in part on the information received from each of the at least one external device searched through the first communication circuit, receive, via the displayed at least one representation, a third user input for selecting an external device from among the at least one external device which meets the specified condition, and in response to the third user input, connect to the selected external device through a second communication circuit, for sharing the multimedia file corresponding to the selected object.
 16. The electronic device of claim 15, wherein the at least one processor is further configured to: transmit, to the selected external device through the second communication circuit, the multimedia file corresponding to the selected object.
 17. The electronic device of claim 15, wherein the specified condition relates to at least one of a manufacturer of each of the searched at least one external device or a communication technique supported by each of the searched at least one external device.
 18. The electronic device of claim 16, wherein the at least one processor is further configured to: receive the third user input for selecting at least two external devices from among a plurality of external devices which meet the specified condition.
 19. The electronic device of claim 18, wherein the at least one processor is further configured to: sequentially, connect to the selected at least two external devices through the second communication circuit, the multimedia file corresponding to the selected object.
 20. The electronic device of claim 15, wherein the multimedia file comprises at least one of a music file, an image file, or a video file.
 21. The electronic device of claim 15, wherein the at least one processor is further configured to, in response to the second user input corresponding to the function for sharing the multimedia file, activate a function of a first communication corresponding to the first communication circuit or a function of a second communication corresponding to the second communication circuit.
 22. The electronic device of claim 15, wherein the at least one processor is further configured to display information related to a connection state between the electronic device and the at least one external device as visual information.
 23. The electronic device of claim 15, wherein the at least one processor is further configured to, when receiving the information related to the at least one external device: scan a signal broadcasted periodically from the at least one external device through the first communication circuit, and identify the information related to the at least one external device from the scanned signal.
 24. The electronic device of claim 15, wherein the at least one representation comprises at least one of an image, a device service provider name, a manufacturer, a type of a device, or a device name.
 25. The electronic device of claim 15, wherein a first communication corresponding to the first communication circuit comprises at least one of Bluetooth or Bluetooth low energy (BLE).
 26. The electronic device of claim 15, wherein a second communication corresponding to the second communication circuit comprises at least one of Wi-Fi or Wi-Fi direct.
 27. The electronic device of claim 15, wherein the information received from at least one external device searched through a first communication circuit comprises at least one of a device service provider name, a manufacturer, information on supported wireless communications among a plurality of wireless communications, a type of a device, or a device name.
 28. The electronic device of claim 15, wherein a transmission speed of a second communication corresponding to the second communication circuit is faster than a transmission speed of a first communication corresponding to the first communication circuit. 